package net.eascn.babyClone.commands
{
	import com.adobe.cairngorm.commands.ICommand;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.rpc.IResponder;
	
	import net.eascn.babyClone.business.GetUserStatusDelegate;
	import net.eascn.babyClone.model.ModelLocator;

	public class GetUserStatusCommand implements ICommand, IResponder
	{
		private var model : ModelLocator = ModelLocator.getInstance();
		private var _getUsrStatusDelegate:GetUserStatusDelegate = new GetUserStatusDelegate(this as IResponder);


		public function execute(event:CairngormEvent):void
		{
			_getUsrStatusDelegate.getUserStatus();
		}
		
		public function result(data:Object):void
		{
			trace(data);
		}
		
		public function fault(info:Object):void
		{
		}
		
	}
}